package com.gree.changying.activity.mainactivity.framgent.homefrm.tuijian.adapter;

import androidx.annotation.LayoutRes;
import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.gree.changying.R;
import com.gree.changying.activity.mainactivity.framgent.homefrm.tuijian.bean.Gdhl;

import java.util.List;

public class GdhlAdapter extends BaseQuickAdapter<Gdhl, BaseViewHolder> {
    public GdhlAdapter(@LayoutRes int layoutResId, @Nullable List data) {
        super(layoutResId, data);
    }
    @Override
    protected void convert(BaseViewHolder helper, Gdhl item) {
        helper.setText(R.id.title,item.getTitle());
        helper.setText(R.id.date,item.getDate());
    }
}